package org.tp8.sampleapp.rule.intf;

import org.tp8.sampleapp.exc.SampleAppException;
import org.tp8.sampleapp.rule.model.RuleModelWrapper;

/**
 * The Interface RuleService.
 */
public interface RuleService {

	/**
	 * Execute.
	 * 
	 * @param knowledgeBase
	 *            the knowledge base
	 * @param entity
	 *            the entity
	 * @return the string
	 * @throws SampleAppException
	 *             the sample app exception
	 */
	public RuleModelWrapper execute(String knowledgeBase, Object entity)
			throws SampleAppException;

}
